package com.he.hsdyc.mapper;

import com.he.hsdyc.model.OrderFlowRecord;
import com.he.hsdyc.model.vo.CourseOrderVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface OrderFlowRecordMapper {

    int deleteByPrimaryKey(Long id);

    int insert(OrderFlowRecord record);

    int insertSelective(OrderFlowRecord record);

    OrderFlowRecord selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(OrderFlowRecord record);

    int updateByPrimaryKey(OrderFlowRecord record);

    List<OrderFlowRecord> findByOrderId(@Param("orderId") Long orderId);

    int delete(@Param("orderId") Long orderId);

    Integer count(CourseOrderVo vo);
}